package com.ruoyi.recycle.factory;

import com.ruoyi.recycle.service.OrderService;
import lombok.Data;

import java.util.Map;

@Data
public class OrderFactory {
    private Map<String,? extends OrderService> orderServiceMap;
    public OrderService getBySuffix(String suffix) {
        return orderServiceMap.get(suffix);
    }
}
